<html>
<head>
    <title></title>
    <script type='text/javascript' src='/dwr/engine.js'></script>
    <script type='text/javascript' src='/dwr/interface/demoService.js'></script>
</head>
hello
<script>
    demoService.echo('回声测试', function (str) {
        alert(str);
    });
    demoService.hello(function(data){
        alert(data);
    });
    demoService.voidtest();
</script>
</html>